package com.ruoyi.edge.gateway.service;

import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.mybatis.core.page.PageQuery;
import com.ruoyi.common.mybatis.core.page.TableDataInfo;
import com.ruoyi.edge.gateway.domain.Synchronization;

/**
 * 数据同步任务
 */
public interface SynchronizationService {

    TableDataInfo<Synchronization> listPage(Synchronization synchronization, PageQuery pageQuery);

    R<Synchronization> get(String id);

    R<String> add(Synchronization synchronization);

    R<String> edit(Synchronization synchronization);

    R<String> remove(String id);

    R<String> editStatus(String id, Integer status);

}
